package com.second.app.thread.线程基础.day07.线程通信.实战.backup;

/**
 * @author gyz
 * @date 2021/1/27 17:27
 */
public class BackUpA extends Thread{

    private final DbTools dbTools;

    public BackUpA(DbTools dbTools) {
        this.dbTools = dbTools;
    }

    @Override
    public void run() {
        dbTools.backupA();
    }
}
